package com.kz.service.impl;


import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.kz.entity.YcreBig;
import com.kz.mapper.YcreBigMapper;
import com.kz.service.YcreBigService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * <p>
 * 服务实现类
 * </p>
 *
 * @author Lin
 * @since 2020-11-10
 */
@Service
public class YcreBigServiceImpl extends ServiceImpl<YcreBigMapper, YcreBig> implements YcreBigService {
    @Resource
    private YcreBigMapper ycreBigMapper;

    @Override
    public List<YcreBig> getYcreBigs() {
        return ycreBigMapper.selectYcreBigList();
    }

    @Override
    public List<YcreBig> selectYcreBigById(String accId, Integer id) {
        return ycreBigMapper.selectYcreBigById(accId, id);
    }
}
